package com.my;

import java.util.List;

/**
 * Created by YJH on 2017/7/12 22:43.
 */
public class User {

    private String username;
    private List<Authority> authorityList;

    public User() {
    }

    public User(String username, List<Authority> authorityList) {
        this.username = username;
        this.authorityList = authorityList;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<Authority> getAuthorityList() {
        return authorityList;
    }

    public void setAuthorityList(List<Authority> authorityList) {
        this.authorityList = authorityList;
    }
}
